const accountSid = 'AC51bfe02735d4c266bf5ef35efaf9a79f'
const authToken = '4a644295cb375a82195d13f1c5ba68dc'
const client = require('twilio')(accountSid, authToken)

const notify = () => {
  const body = 'test'
  // client.messages.create({
  //   body,
  //   from: '+15108718159',
  //   to: '+14086668508'
  // }).then(function(res) {
  //   console.log(res.body)
  // })
  // .catch(function(err) {
  //   console.log(err)
  // });
  client.messages.create({
    body,
    from: '+15108718159',
    to: '+85246475977'
  }).then(function(res) {
    console.log(res.body)
  })
  .catch(function(err) {
    console.log(err)
  });
}

notify()